package com.smart.common.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "watches")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WatchesConfig {

    @Value("${watches.sendInstructionsUrl}")
    private String sendInstructionsUrl;

    @Value("${watches.setUrl}")
    private String setUrl;

    @Value("${watches.onlineUrl}")
    private String onlineUrl;

    @Value("${watches.sendAudio}")
    private String sendAudio;
}
